#pragma once
#include <iostream>
#include "worker.h"
#include "employee.h"
#include "manager.h"
#include "boss.h"
using namespace std;

class WorkerManager
{
public:
	WorkerManager();
	~WorkerManager();

	void showMenu();
	void exitSystem();
	void addEmp();
	void save();
	int getEmpNum();
	void initEmp();
	void showEmp();
	int isExist(string id);
	void delEmp();
	void modEmp();
	void findEmp();
	void sortEmp();
	void cleanFile();

public:
	int m_EmpNum;
	Worker** m_EmpArray;
	bool m_FileIsEmpty;
};

